﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using log4net;

namespace iLangl.LanguageWireAPI.Services
{
	static class Program
	{
		private static ILog log = LogManager.GetLogger(typeof(LanguageWireAPI));
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		static void Main()
		{
			try
			{
				ServiceBase[] ServicesToRun;
				ServicesToRun = new ServiceBase[] 
			{ 
				new LanguageWireAPI() 
			};
				ServiceBase.Run(ServicesToRun);
			}
			catch (System.Exception ex)
			{
				log.Error(ex);
				throw ex;
			}
		}
	}
}
